package com.hyacinth.forumbite.dao;

import com.hyacinth.forumbite.model.Message;

import java.util.List;

public interface MessageMapper {
    int insert(Message row);

    int insertSelective(Message row);

    Message selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Message row);

    int updateByPrimaryKey(Message row);

    int selectUnreadCount(Long id);

    List<Message> selectListByUserId(Long id);
}